package org.example.config;

import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Pointcut;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan(value = {"org.example"})
@Import({jdbcCnfig.class, mybatisConfig.class})
//开启aop
@EnableAspectJAutoProxy
//开启事务管理
@EnableTransactionManagement
public class springconfig {



}
